package com.mce.nebula.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * 团队角色创建请求DTO
 */
@Data
public class TeamRoleCreateRequest {
    
    @NotBlank(message = "角色名称不能为空")
    @Size(min = 2, max = 64, message = "角色名称长度必须在2-64个字符之间")
    private String roleName;
    
    @Size(max = 64, message = "角色别名长度不能超过64个字符")
    private String roleAlias;
    
    @Size(max = 200, message = "角色描述长度不能超过200个字符")
    private String description;
    
    private List<String> permissions;
}





